<template>
	<view :style="[{paddingTop:CustomBar+'px'}]" class="container">
		<cu-custom bgColor="bg-rule" :isBack="true">
			<block slot="backText"></block>
			<block slot="content">规则</block>
		</cu-custom>
		<image src="https://xarkbucket.oss-cn-hangzhou.aliyuncs.com/%E5%85%8D%E5%8D%95%E9%80%9AApp/zs-card-r.png"  mode="" v-if="status==2"></image>
		<image src="https://xarkbucket.oss-cn-hangzhou.aliyuncs.com/%E5%85%8D%E5%8D%95%E9%80%9AApp/zs-person-r.png" mode="" v-if="status==1"></image>
		<view class="bottom" @click="goShopping"></view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				CustomBar: this.CustomBar,
				status: 0
			}
		},
		onLoad(options) {
			this.status = options.status
		},
		methods:{
			goShopping(){
				uni.showToast({
					title:'敬请期待'
				})
			}
		}
	}
</script>


<style scoped>
	.container{
		position: relative;
	}
	
	image {
		width: 100%;
		height: 2066rpx;
		display: block;
	}
	
	.bottom{
		width: 100%;
		height: 300rpx;
		position: absolute;
		bottom: 0;
		left: 0;
	}
</style>
